package objects.slots;

import objects.DataObject;
import objects.GruObject;

public abstract class Slot<E extends DataObject> {
	public GruObject method;
	
	public enum Position {
		BEFORE,
		INSTEAD,
		AFTER
	}
	
	/*
	@Override
	public void draw( int drawingX, int drawingY ) {
		if( selected == this ) {
			Graphics.setColor( 0.6f, 1f, 0.6f );
			Graphics.drawRectangle( drawingX + x - 2, drawingY + y - 2, width + 5, height + 5 );
		} else {
			if( collides( Mouse.getX(), 768 - Mouse.getY(), 3, 3, drawingX + x + width / 2, drawingY + y + height / 2, width, height ) ) selected = this;
		}
	}
	*/
	
	public abstract void insert( E value );
	
	public abstract E remove();
}
